#include "stdafx.h"
#include "TimeTaskTrigger.h"

#include "Clock.h"

#ifdef WIN32
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif //_DEBUG
#endif //WIND32

namespace serika
{
	namespace ut
	{
		TimeTaskTrigger::TimeTaskTrigger(size_t start, size_t end, size_t loopInterval)
			: NormalTaskTrigger(start, end, loopInterval)
		{
		}

		TimeTaskTrigger::~TimeTaskTrigger()
		{
		}

		size_t TimeTaskTrigger::GetCurr(const Clock& clock) const
		{
			return clock.GetElapse();
		}
	}
}
